-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.5.1
-
Code
-
Classes
- PersistentRuleProcessor
Total Complexity |
154 |
Dependencies |
21 |
Dependents |
1 |
Total lines |
940 |
Lines of code |
557 |
Logical lines of code |
353 |
Comment lines |
183 |
Methods |
24 |
Properties |
13 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
applyRangeDiscounts() |
D |
12 |
90 |
300 |
processWithPrice() |
B |
35 |
16 |
94 |
isCategoryMatched() |
A |
55 |
8 |
20 |
isRuleOptionalMatchedCart() |
S |
63 |
5 |
11 |
__construct() |
S |
57 |
3 |
16 |
applyProductAdjustment() |
S |
60 |
3 |
13 |
isRuleMatchedCart() |
S |
64 |
3 |
11 |
addFreeProducts() |
S |
63 |
3 |
10 |
addAutoAddProducts() |
S |
63 |
3 |
10 |
applyPriceToCartItem() |
S |
64 |
2 |
10 |
process() |
S |
63 |
2 |
10 |
addAutoAdds() |
S |
72 |
2 |
6 |
applyToCartItem() |
S |
64 |
2 |
10 |
addGifts() |
S |
72 |
2 |
6 |
isProductMatched() |
S |
82 |
1 |
3 |
getLastExecTime() |
S |
82 |
1 |
3 |
applyToCart() |
S |
82 |
1 |
3 |
applyCartAdjustments() |
S |
80 |
1 |
3 |
matchConditions() |
S |
80 |
1 |
3 |
checkLimits() |
S |
80 |
1 |
3 |
withContext() |
S |
81 |
1 |
3 |
getStatus() |
S |
82 |
1 |
3 |
getRule() |
S |
82 |
1 |
3 |
checkConditions() |
S |
80 |
1 |
3 |